package com.bfl.sa.sys.permission.mapper;

import com.bfl.sa.common.mapper.BaseMapper;
import com.bfl.sa.sys.permission.entity.Role;
import com.bfl.sa.sys.permission.entity.RoleResourcePermission;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


public interface RoleMapper extends BaseMapper<Role, Long> {

    RoleResourcePermission findRoleResourcePermission(@Param("role") Role role, @Param("resourceId") Long resourceId);

}
